package com.link.base.base.email.model;

import com.link.core.basic.model.BasicModel;

/**
 * Email 收件人信息
 *
 * @author ashen
 */
public class EmailItem extends BasicModel {
    /**
     * 联系人Id
     */
    private Long contactId;
    /**
     * Emial头Id
     */
    private Long emailId;
    /**
     * 发件地址
     */
    private String emailSendAddr;
    /**
     * 发件地址别名
     */
    private String emailSendName;
    /**
     * 收件地址
     */
    private String emailReceiveAddr;
    /**
     * 收件地址别名
     */
    private String emailReceiveName;
    /**
     * 发送完毕时间
     */
    private String sendedTime;
    /**
     * 状态
     */
    private String status;
    /**
     * 失败原因
     */
    private String errorMsg;
    /**
     * 发送内容
     */
    private String emailContent;

    /**
     * 附件地址
     */
    private String attachment;

    /**
     * 邮件标题
     */
    private String emailTitle;

    /**
     * 抄送地址
     */
    private String toCcAddress;

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    public String getEmailTitle() {
        return emailTitle;
    }

    public void setEmailTitle(String emailTitle) {
        this.emailTitle = emailTitle;
    }

    public String getToCcAddress() {
        return toCcAddress;
    }

    public void setToCcAddress(String toCcAddress) {
        this.toCcAddress = toCcAddress;
    }

    public String getEmailContent() {
        return emailContent;
    }

    public void setEmailContent(String emailContent) {
        this.emailContent = emailContent;
    }

    public Long getContactId() {
        return contactId;
    }

    public void setContactId(Long contactId) {
        this.contactId = contactId;
    }

    public String getEmailSendAddr() {
        return emailSendAddr;
    }

    public void setEmailSendAddr(String emailSendAddr) {
        this.emailSendAddr = emailSendAddr;
    }

    public String getEmailSendName() {
        return emailSendName;
    }

    public void setEmailSendName(String emailSendName) {
        this.emailSendName = emailSendName;
    }

    public String getEmailReceiveAddr() {
        return emailReceiveAddr;
    }

    public void setEmailReceiveAddr(String emailReceiveAddr) {
        this.emailReceiveAddr = emailReceiveAddr;
    }

    public String getEmailReceiveName() {
        return emailReceiveName;
    }

    public void setEmailReceiveName(String emailReceiveName) {
        this.emailReceiveName = emailReceiveName;
    }

    public String getSendedTime() {
        return sendedTime;
    }

    public void setSendedTime(String sendedTime) {
        this.sendedTime = sendedTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getEmailId() {
        return emailId;
    }

    public void setEmailId(Long emailId) {
        this.emailId = emailId;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

}
